gtk4.git
13 years agowayland: Only set cursor when it changes
Kristian Høgsberg [Thu, 21 Mar 2013 02:42:44 +0000 (22:42 -0400)]
wayland: Only set cursor when it changes

13 years agowayland: Add a cursor cache
Kristian Høgsberg [Thu, 21 Mar 2013 02:34:03 +0000 (22:34 -0400)]
wayland: Add a cursor cache

We avoid creating a new GdkCursor object every time
_gdk_wayland_display_get_cursor_for_name/type() is called.

13 years agowayland: Use the pointer enter serial when setting cursor surface
Kristian Høgsberg [Thu, 21 Mar 2013 02:02:42 +0000 (22:02 -0400)]
wayland: Use the pointer enter serial when setting cursor surface

wl_pointer.set_cursor is rejected if the serial number doesn't match
the enter serial number for the wl_pointer.  We passed the right serial
number when setting the cursor surface in response to the enter event.
Later set_cursor requests fail, but we can still attach new buffers to
our cursor surface, which is why the cursor changed, but the hotspot
didn't update.  Clicking in the decoration results in a leave/enter pair
which triggers wl_pointer.set_cursor with the right serial. That's why
clicking the decoration sets the right cursor.

https://bugzilla.gnome.org/show_bug.cgi?id=695512

13 years agoGtkColorChooser: Fix selection of colors
Matthias Clasen [Thu, 21 Mar 2013 02:17:14 +0000 (22:17 -0400)]
GtkColorChooser: Fix selection of colors

Prevent the new window dragging code from interfering with
selection of colors on button release, by handling button
presses we care about instead of letting them bubble up to
the window.
Partial fix for
https://bugzilla.gnome.org/show_bug.cgi?id=695493

13 years agowayland: Keep hotspot when changing cursors
Matthias Clasen [Thu, 21 Mar 2013 01:47:12 +0000 (21:47 -0400)]
wayland: Keep hotspot when changing cursors

We need to pass the delta between the old and new hotspot
when attaching the new cursor surface, to keep the hotspot
at the same position. We can't deal with this in the compositor,
since the set_cursor call already overwrites the old hotspot,
so the information is lost by the time the attach happens.
Unfortunately, we can't query the initial hotspot from
the compositor, so the first cursor change will make the
hotspot jump.
https://bugzilla.gnome.org/show_bug.cgi?id=695512

13 years agoUpdated Hungarian translation
Gabor Kelemen [Wed, 20 Mar 2013 23:31:21 +0000 (00:31 +0100)]
Updated Hungarian translation

13 years agoGtkWindow: clean up button event handling
Matthias Clasen [Wed, 20 Mar 2013 15:42:35 +0000 (11:42 -0400)]
GtkWindow: clean up button event handling

We were not translating event coordinates to the toplevel
window, thus the regions we determined were not right.
We were also not respecting the maximized state, and we
were unnecessarily refusing to handle events when not decorated.
https://bugzilla.gnome.org/show_bug.cgi?id=696197

13 years agoUpdated Hungarian translation
Balázs Úr [Wed, 20 Mar 2013 21:10:37 +0000 (22:10 +0100)]
Updated Hungarian translation

13 years agoUpdated Odia Translation.
ManojKumar Giri [Wed, 20 Mar 2013 13:56:57 +0000 (19:26 +0530)]
Updated Odia Translation.

13 years agoGtkWidget: Handle style updates before realize
Alexander Larsson [Wed, 20 Mar 2013 12:56:16 +0000 (13:56 +0100)]
GtkWidget: Handle style updates before realize

If the style changes before we're realized we will delay the
style-updated signal until realize. However, we then lose
the changes bitmap. This means that gtk_widget_real_style_updated()
must treat a NULL change as "everything changed" and queue a resize.

13 years agoUpdate Visual Studio Proprerty Sheets
Chun-wei Fan [Wed, 20 Mar 2013 11:08:19 +0000 (19:08 +0800)]
Update Visual Studio Proprerty Sheets

Stop installing the gtk3-demo data files as they are now built into the
gtk3-demo program using GResources.

13 years agoFix introspection building for Visual Studio builds
Chun-wei Fan [Wed, 20 Mar 2013 09:42:15 +0000 (17:42 +0800)]
Fix introspection building for Visual Studio builds

Apparently time_t is used in gtkrecentmanager.h, which is a special type
that could not be recognized when Gtk-3.0.gir is built.  Judging from the
ast.py from the gobject-introspection package, we can define time_t as
long, and this will allow pygobject to load the Gtk module from
gi.repository.

13 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 20 Mar 2013 07:51:17 +0000 (13:21 +0530)]
Assamese translation updated

13 years agoL10N: Updated Persian Translation
Arash Mousavi [Wed, 20 Mar 2013 06:43:17 +0000 (10:13 +0330)]
L10N: Updated Persian Translation

13 years agoAdd an example for subtitles in header bars
Matthias Clasen [Wed, 20 Mar 2013 02:08:13 +0000 (22:08 -0400)]
Add an example for subtitles in header bars

13 years agoGtkHeaderBar: Add subtitle support
Matthias Clasen [Wed, 20 Mar 2013 02:07:26 +0000 (22:07 -0400)]
GtkHeaderBar: Add subtitle support

As seen in GdHeaderBar.

13 years agoGtkHeaderBar: Survive toggling custom / non-custom titles
Matthias Clasen [Wed, 20 Mar 2013 00:52:54 +0000 (20:52 -0400)]
GtkHeaderBar: Survive toggling custom / non-custom titles

The code was always adding a label widget as a child, but
then skipping over it in forall if a custom_title was present.
This confuses internal logic of GTK+ which assumes that it
can iterate over the entire widget hierarchy with forall,
to maintain state. Fix this by destroying the label when
a custom_title is set, and recreating it as needed.

13 years agotest custom titles more thoroughly
Matthias Clasen [Wed, 20 Mar 2013 00:51:43 +0000 (20:51 -0400)]
test custom titles more thoroughly

This adds a way to toggle between custom and non-custom titles
in testheaderbar, which is currently broken.

13 years agoGtkHeaderBar: Don't leak
Matthias Clasen [Wed, 20 Mar 2013 00:35:28 +0000 (20:35 -0400)]
GtkHeaderBar: Don't leak

Should have a finalize function, if there's strings to free.
Also avoid some pointless extra ref on custom title widgets.

13 years ago[l10n] Updated Catalan translation
Gil Forcada [Tue, 19 Mar 2013 22:15:11 +0000 (23:15 +0100)]
[l10n] Updated Catalan translation

13 years agowayland: Preserve dimensions separately for fullscreen / maximised case
Rob Bradford [Tue, 19 Mar 2013 19:52:49 +0000 (19:52 +0000)]
wayland: Preserve dimensions separately for fullscreen / maximised case

Use separate fields for saving the window dimensions prior to fullscreening
and maximisation. Then use those fields to restore the window dimensions from.

13 years agowindow: Use update_window_buttons to hide title on fullscreen
Rob Bradford [Tue, 19 Mar 2013 19:40:30 +0000 (19:40 +0000)]
window: Use update_window_buttons to hide title on fullscreen

The function update_window_buttons shows or hides the title header after it
has finished updating the visibility of the various buttons. Unfortunately
this
conflicted with the hiding of the title done when going fullscreen.

This solves the problem and fixes the rendering of fullscreen applications by
using update_window_buttons to control the visibility of the box in the
fullscreen case.

13 years agowayland: Implement gdk_window_[un]maximize
Scott Moreau [Sat, 16 Mar 2013 23:34:57 +0000 (17:34 -0600)]
wayland: Implement gdk_window_[un]maximize

This allows the buttons in the decorations to maximise the window.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=695945
Signed-off-by: Rob Bradford <rob@linux.intel.com>
13 years agobroadway: Fix assert failure
Alexander Larsson [Mon, 18 Mar 2013 15:37:25 +0000 (16:37 +0100)]
broadway: Fix assert failure

Requests are not limited in size by BroadwayRequest, as
BroadwayRequestTranslation can be of variable size. No need
to copy the request anymore though, because requests are aligned
now.

13 years agobroadway: Ensure broadway request members are 32bit aligned
Alexander Larsson [Mon, 18 Mar 2013 15:36:27 +0000 (16:36 +0100)]
broadway: Ensure broadway request members are 32bit aligned

13 years agogtk: gtk_init_with_args allows NULL for parameter_string
Christian Persch [Mon, 18 Mar 2013 13:04:52 +0000 (14:04 +0100)]
gtk: gtk_init_with_args allows NULL for parameter_string

13 years agoRevert "GtkHeaderBar: Allow window dragging"
Matthias Clasen [Mon, 18 Mar 2013 12:41:39 +0000 (08:41 -0400)]
Revert "GtkHeaderBar: Allow window dragging"

This reverts commit 30a1a79322f4097ce47c2a08678479d00cc54b69.

This turns out to be unnecessary when you can set the titlebar
on the window and let GtkWindow handle the events. As a benefit,
we get the window menu on custom titlebars for free.

13 years agoUse gtk_window_set_titlebar in testheaderbar
Matthias Clasen [Mon, 18 Mar 2013 12:26:24 +0000 (08:26 -0400)]
Use gtk_window_set_titlebar in testheaderbar

This demonstrates how custom titlebars work both with
and without csd.

13 years agoAdd documentation for gtk_window_set_titlebar
Matthias Clasen [Mon, 18 Mar 2013 12:48:15 +0000 (08:48 -0400)]
Add documentation for gtk_window_set_titlebar

13 years agoAdd gtk_window_set_titlebar
Matthias Clasen [Mon, 18 Mar 2013 12:38:02 +0000 (08:38 -0400)]
Add gtk_window_set_titlebar

A new function that sets a custom titlebar on a GtkWindow.
With client-side decorations, the custom titlebar simply
replaces the one that GtkWindow would otherwise create itself.
With traditional decorations, we tell the window manager
to just decorate the window with a border. This works ok
at least with metacity and mutter.

13 years agoSmall cleanup in gtk_window_draw
Matthias Clasen [Mon, 18 Mar 2013 12:36:04 +0000 (08:36 -0400)]
Small cleanup in gtk_window_draw

Get the allocation once, at the beginning.

13 years agowindow: Don't draw titlebar background
Matthias Clasen [Mon, 18 Mar 2013 12:32:27 +0000 (08:32 -0400)]
window: Don't draw titlebar background

GtkHeaderBar can do its own drawing, no need to do this
in gtk_window_draw.

13 years agoTrivial whitespace fix
Matthias Clasen [Mon, 18 Mar 2013 12:29:50 +0000 (08:29 -0400)]
Trivial whitespace fix

13 years agoAdd forgotten check
Matthias Clasen [Mon, 18 Mar 2013 12:28:44 +0000 (08:28 -0400)]
Add forgotten check

We don't want to create titlebar widgets if the window
is not decorated anyway.

13 years agowayland: Always attach buffer before committing
Scott Moreau [Sun, 10 Mar 2013 16:51:01 +0000 (10:51 -0600)]
wayland: Always attach buffer before committing

With recent changes in attach semantics, we always need to attach before
committing. Without this changes to the window contents to not get reflected
in the content of the surface.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
13 years agowayland: Remove unneeded semicolons
Scott Moreau [Fri, 15 Mar 2013 21:27:18 +0000 (15:27 -0600)]
wayland: Remove unneeded semicolons

Signed-off-by: Rob Bradford <rob@linux.intel.com>
13 years agowayland: Remove unused wayland-egl header
Scott Moreau [Sun, 10 Mar 2013 18:04:57 +0000 (12:04 -0600)]
wayland: Remove unused wayland-egl header

This was left over from the work done in commit: d4a9863

Signed-off-by: Rob Bradford <rob@linux.intel.com>
13 years agowayland: Set title on shell surfaces to window title
Scott Moreau [Sat, 16 Mar 2013 23:57:17 +0000 (17:57 -0600)]
wayland: Set title on shell surfaces to window title

We currently use this information to display the title
string in the window list of the desktop shell.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
13 years agoUpdated Latvian translation
Rūdolfs Mazurs [Mon, 18 Mar 2013 11:49:04 +0000 (13:49 +0200)]
Updated Latvian translation

13 years agoAssamese translation updated
Nilamdyuti Goswami [Mon, 18 Mar 2013 10:45:12 +0000 (16:15 +0530)]
Assamese translation updated

13 years agoAssamese translation updated
Nilamdyuti Goswami [Mon, 18 Mar 2013 10:39:34 +0000 (16:09 +0530)]
Assamese translation updated

13 years agoFix Visual Studio Debug configs
Chun-wei Fan [Mon, 18 Mar 2013 09:14:33 +0000 (17:14 +0800)]
Fix Visual Studio Debug configs

The debug builds must link to the Debug version of the CRT, otherwise
trouble will arise from mixing different CRTs into the resulting binary.

13 years agoFix a typo
Matthias Clasen [Mon, 18 Mar 2013 05:20:08 +0000 (01:20 -0400)]
Fix a typo

13 years agoAdd a headerbar test
Matthias Clasen [Mon, 18 Mar 2013 05:03:39 +0000 (01:03 -0400)]
Add a headerbar test

Add a testcase for GtkHeaderBar that shows how it can be used
without client-side decorations.

13 years agoGtkHeaderBar: Allow window dragging
Matthias Clasen [Mon, 18 Mar 2013 05:02:19 +0000 (01:02 -0400)]
GtkHeaderBar: Allow window dragging

We use the same window-dragging style property here to enable
this as for menubars and toolbars.

13 years agoFix double accounting of border width
Matthias Clasen [Sun, 17 Mar 2013 23:00:13 +0000 (19:00 -0400)]
Fix double accounting of border width

For csd, we were subtracting the border width one too many
times from the child height, causing clipped off content e.g.
in the 'Properties' window in testgtk.

13 years agoAllocate the titlebar height according to width
Matthias Clasen [Sun, 17 Mar 2013 22:35:21 +0000 (18:35 -0400)]
Allocate the titlebar height according to width

13 years agoAdd some visible border to the default csd
Matthias Clasen [Sun, 17 Mar 2013 22:34:35 +0000 (18:34 -0400)]
Add some visible border to the default csd

13 years agoReplace GLE reference
Matthias Clasen [Sun, 17 Mar 2013 22:25:45 +0000 (18:25 -0400)]
Replace GLE reference

Recommending gtkparasite is more useful nowadays.

13 years agoUpdated galician translations
Fran Diéguez [Sun, 17 Mar 2013 22:22:29 +0000 (23:22 +0100)]
Updated galician translations

13 years agoGtkFontButton: default show-preview-entry to TRUE
Matthias Clasen [Sun, 17 Mar 2013 20:24:34 +0000 (16:24 -0400)]
GtkFontButton: default show-preview-entry to TRUE

This is what the property declaration says, after all.
https://bugzilla.gnome.org/show_bug.cgi?id=695948

13 years agoGtkEntryAccessible: also handle entry icon tooltip NULL in notify_gtk.
Alban Browaeys [Thu, 7 Mar 2013 14:54:04 +0000 (15:54 +0100)]
GtkEntryAccessible: also handle entry icon tooltip NULL in notify_gtk.

To clear the tooltip one is to set the tooltip to NULL. Though
the GtkEntryAccessible expect this tooltip to not be NULL in
gtk_entry_accessible_notify_gtk (already handling this case
 in its _init).

Fixes:
** (epiphany:23914): CRITICAL **: atk_object_set_description: assertion
`description != NULL' failed
when epiphany g_object_set the entry icon tooltip to NULL (clear the
tooltip) in its find bar.

https://bugzilla.gnome.org/show_bug.cgi?id=695375

13 years agoGtkLabel: fix mnemonic-keyval when use-markup is true
Sébastien Wilmet [Tue, 24 Apr 2012 20:22:22 +0000 (22:22 +0200)]
GtkLabel: fix mnemonic-keyval when use-markup is true

To extract the mnemonic key value, the string must contain the
underscore. But when the "gtk-auto-mnemonics" setting is true and when
the Alt key is not pressed, the underscore must not be displayed. The
problem was that the 'new_str' variable was used for both purposes:
extract the text to display, and extract the accelerator character.

When the underscore must not be visible, the underscores were removed
from the 'new_str' variable before extracting the accelerator character.

Now there are two strings, one for each purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=674759

13 years agoUpdated POTFILES.in
Piotr Drąg [Sun, 17 Mar 2013 16:47:32 +0000 (17:47 +0100)]
Updated POTFILES.in

13 years agocss: Add style entries for client side decorations to default CSS
Rob Bradford [Tue, 19 Feb 2013 12:55:07 +0000 (12:55 +0000)]
css: Add style entries for client side decorations to default CSS

13 years agowindow: Render inner and outer border separately
Matthias Clasen [Sun, 10 Mar 2013 17:46:59 +0000 (13:46 -0400)]
window: Render inner and outer border separately

This lets themes render a window frame in the inner border,
and a shadow or nothing in the outer border.

13 years agowindow: Split the border into inner and outer
Matthias Clasen [Sun, 17 Mar 2013 01:37:51 +0000 (21:37 -0400)]
window: Split the border into inner and outer

For now, nothing changes, we're using the sum of inner and
outer border everywhere.

In the future, we will make the inner border the visible
window frame, and the outer border the shadow/resize border.

13 years agowindow: Hide the border when maximized
Matthias Clasen [Sun, 10 Mar 2013 07:30:26 +0000 (03:30 -0400)]
window: Hide the border when maximized

Dragging windows from the border is not useful when maximized.

13 years agowindow: Add a window menu to the titlebar
Matthias Clasen [Sun, 10 Mar 2013 06:39:19 +0000 (01:39 -0500)]
window: Add a window menu to the titlebar

The menu is triggered by right-click on the titlebar
or with the menu key.

13 years agowindow: Allow resizing by clicking on the border
Matthias Clasen [Sun, 10 Mar 2013 06:11:18 +0000 (01:11 -0500)]
window: Allow resizing by clicking on the border

We also change cursors to indicate what interactions
are possible in various window regions.
Double clicking on the titlebar maximizes the window.

13 years agowindow: Allow theme control over window buttons
Matthias Clasen [Sun, 10 Mar 2013 04:03:38 +0000 (23:03 -0500)]
window: Allow theme control over window buttons

Add a style property to control the presence and order of
window buttons. We allow buttons at the left and right side,
they can be specified like this: icon,close:minimize,maximize.

Also, change the default button layout back to have just a close
button on the right, use icons in buttons, and set style classes
on the buttons, to allow better theming.

13 years agoAdd icons for frame buttons
Matthias Clasen [Sat, 16 Mar 2013 23:11:26 +0000 (19:11 -0400)]
Add icons for frame buttons

Add window-minimize, window-maximize, window-restore and window-delete
icons to the builtin icon theme. These will be used for icons in
the window buttons, and the expectation is that the icon theme
will provide icons matching the desired decoration style.

window-delete is used instead of window-close, since window-close
is also used for GTK_STOCK_CLOSE, and the two may require different
styles when used inside the application vs in the window frame.

13 years agowindow: Hide frame buttons when appropriate
Matthias Clasen [Sun, 10 Mar 2013 03:28:39 +0000 (22:28 -0500)]
window: Hide frame buttons when appropriate

Hide the close button if the window is not deletable, hide the
maximize button if the window is not resizable, and hide all
buttons if the window is a dialog.

Update buttons when the window state changes.

13 years agowindow: Use same title fallback mechanism as X backend
Matthias Clasen [Sun, 17 Mar 2013 16:08:17 +0000 (12:08 -0400)]
window: Use same title fallback mechanism as X backend

This looks at the application name or program name and uses that
as the title if gtk_window_set_title has not been called.

13 years agowindow: Add support for enabling client decorations on non-Wayland
Matthias Clasen [Sun, 17 Mar 2013 16:06:26 +0000 (12:06 -0400)]
window: Add support for enabling client decorations on non-Wayland

Client side decorations can be enabled on non-Wayland platforms by
setting the GTK_CSD="1" environment variable.

We must ensure we have a GdkVisual that has an alpha channel since
the decorations rely on transparency. If we cannot get a visual with
an alpha channel then we do not enable client side decorations.

13 years agowindow: Hide the decorations on fullscreen
Rob Bradford [Thu, 31 Jan 2013 17:24:31 +0000 (17:24 +0000)]
window: Hide the decorations on fullscreen

This is expected behaviour for fullscreen windows.

13 years agowindow: Don't set a background pattern/colour when client decorated
Rob Bradford [Tue, 19 Feb 2013 19:26:19 +0000 (19:26 +0000)]
window: Don't set a background pattern/colour when client decorated

Otherwise we'll potentially get some background sticking through our rounded
corners in our decorations. The actual background will get drawn as part of
the decoration drawing.

13 years agowindow: Add initial support for client-side decorations under Wayland
Kristian Høgsberg [Wed, 11 Apr 2012 16:55:54 +0000 (17:55 +0100)]
window: Add initial support for client-side decorations under Wayland

This change comprises four main parts:
 * the creation of the widgets that form the decorations,
 * implementation of get_preferred_height/width, and the for_width/for_height
   variants,
 * taking the decorations into account when allocating,
 * and drawing the decorations themselves.

Kristian did the bulk of the original work on this but any bugs are almost
certainly mine through the many refactorings and rebasings.

13 years agoAdd GtkHeaderBar
Matthias Clasen [Sun, 10 Mar 2013 19:15:45 +0000 (15:15 -0400)]
Add GtkHeaderBar

This widget has been developed as GdHeaderBar in libgd.
The copy here has been renamed and changed to use GTK+
internals.

13 years agowindow: Allow _gtk_window_set_allocation to return a modified allocation
Rob Bradford [Tue, 26 Feb 2013 19:33:04 +0000 (19:33 +0000)]
window: Allow _gtk_window_set_allocation to return a modified allocation

Update the documentation and users of this function to handle
the future case that that we have some internal decorations to the window and
useable allocation is thus smaller.

By having a separate out parameter there is no need to have an in/out function
and allows for greater robustness.

The current implementation simply returns the allocation provided.

13 years agoAdd an index for 3.10 api additions
Matthias Clasen [Sun, 17 Mar 2013 07:18:22 +0000 (03:18 -0400)]
Add an index for 3.10 api additions

13 years agoDefine 3.10 version macros
Matthias Clasen [Sun, 17 Mar 2013 07:07:57 +0000 (03:07 -0400)]
Define 3.10 version macros

13 years agoBump version to 3.9.0
Matthias Clasen [Sun, 17 Mar 2013 07:07:25 +0000 (03:07 -0400)]
Bump version to 3.9.0

Needed so that GDK_AVAILABLE_IN_3_10 works.

13 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sun, 17 Mar 2013 12:52:46 +0000 (15:52 +0300)]
Updated Belarusian translation.

13 years agogdk_{pointer,keyboard}_grab are deprecated
Guido Günther [Fri, 15 Mar 2013 17:24:27 +0000 (18:24 +0100)]
gdk_{pointer,keyboard}_grab are deprecated

so mention the non deprecated gdk_device_grab as well

13 years agoUpdated Danish translation of the properties
Ask H. Larsen [Sun, 17 Mar 2013 07:37:56 +0000 (08:37 +0100)]
Updated Danish translation of the properties

13 years agoUpdated Danish translation
Ask H. Larsen [Sun, 17 Mar 2013 07:14:27 +0000 (08:14 +0100)]
Updated Danish translation

13 years agoSmall API doc fixes
Sébastien Wilmet [Sat, 16 Mar 2013 14:12:35 +0000 (15:12 +0100)]
Small API doc fixes

For gtk_text_iter_get_char(), due to the "Returns" at the beginning of
the description, the description was not visible. So the first sentence
has been reworded.

13 years agoGtkGrid: Tweak size allocation
Matthias Clasen [Sat, 16 Mar 2013 03:10:39 +0000 (23:10 -0400)]
GtkGrid: Tweak size allocation

If there are rows that contain only spanning children,
our algorithm was unnecessarily distributing extra space
to the other rows, even if they contain only non-expanding
children.

We improve the behaviour by treating rows containing only
spanning children as expanding.

13 years agoAdd another grid sizing reftest
Matthias Clasen [Sat, 16 Mar 2013 03:31:05 +0000 (23:31 -0400)]
Add another grid sizing reftest

This test exercises spanning children such that there are
rows which contain only spanning cells.

13 years agostylecontext: Do invalidation on first resize container
Benjamin Otte [Fri, 15 Mar 2013 23:05:03 +0000 (00:05 +0100)]
stylecontext: Do invalidation on first resize container

... instead of taking the last one we find. This is necessary as
attached widgets (mostly menus) can be attached to an invisible widget,
but we still want to invalidate styles for them.

https://bugzilla.gnome.org/show_bug.cgi?id=695772

13 years agoUpdated po-properties French translation
Claude Paroz [Fri, 15 Mar 2013 22:29:06 +0000 (23:29 +0100)]
Updated po-properties French translation

Forward-port from gtk-3-8 branch.

13 years agodocs: Typo fix
Christian Persch [Fri, 15 Mar 2013 17:49:56 +0000 (18:49 +0100)]
docs: Typo fix

13 years agoreftests: Add reftest for separator fixes
Benjamin Otte [Fri, 15 Mar 2013 17:17:40 +0000 (18:17 +0100)]
reftests: Add reftest for separator fixes

Reftest for 61c4425161be3146c0c753a766f35442549bfe72.

Includes a workaround for a grid bug which should be removed once
GtkGrid is fixed.

13 years agoseparator: Don't use padding and borders wrongly
Benjamin Otte [Fri, 15 Mar 2013 13:52:49 +0000 (14:52 +0100)]
separator: Don't use padding and borders wrongly

Borders for size requests and padding for drawing? Really?

Removed them, as that is the least invasive fix shortly before a
release.

13 years agowayland: Rename GdkDeviceManagerCore to GdkWaylandDeviceManager
Matthias Clasen [Fri, 15 Mar 2013 11:27:35 +0000 (07:27 -0400)]
wayland: Rename GdkDeviceManagerCore to GdkWaylandDeviceManager

The 'core' naming is just an artifact of having several generations
of input extensions in X11, no need to propagate that into other
backends.

13 years agoInclude config.h in gdkenumtypes.c.template
Matthias Clasen [Fri, 15 Mar 2013 12:25:14 +0000 (08:25 -0400)]
Include config.h in gdkenumtypes.c.template

At the same time, drop the GDK_ENABLE_BROKEN define.
Nothing broken in GDK broken anymore :-)

13 years agoUpdated Galician translations
Fran Diéguez [Wed, 13 Mar 2013 09:26:18 +0000 (10:26 +0100)]
Updated Galician translations

Conflicts:
po/gl.po

13 years agoAssamese translation updated for gnome 3.8
Nilamdyuti Goswami [Fri, 15 Mar 2013 09:42:09 +0000 (15:12 +0530)]
Assamese translation updated for gnome 3.8

13 years agoAssamese translation updated for gnome 3.8
Nilamdyuti Goswami [Fri, 15 Mar 2013 09:31:04 +0000 (15:01 +0530)]
Assamese translation updated for gnome 3.8

13 years agoMinor doc cleanup
Matthias Clasen [Fri, 15 Mar 2013 00:24:19 +0000 (20:24 -0400)]
Minor doc cleanup

Remove widget references from interface docs.

https://bugzilla.gnome.org/show_bug.cgi?id=695874

13 years agoa11y: Emit text-changed signals directly
Benjamin Otte [Thu, 14 Mar 2013 23:54:26 +0000 (00:54 +0100)]
a11y: Emit text-changed signals directly

When setting new text on the label, the text-changed::delete signal
needs to be emitted before deleting the text (so that atk-bridge can
query the old text) while the text-changed::insert event needs to happen
afterwards (for the same reason). The old code using the notify signal
was only emitted after changing the text.

13 years agoGtkApplication: Allow passing windows on non-X11 targets
Bastien Nocera [Wed, 13 Mar 2013 14:32:46 +0000 (15:32 +0100)]
GtkApplication: Allow passing windows on non-X11 targets

It's not the application's fault that we don't do anything
with the passed GtkWindow on non-X11, so don't try to get an XID
on non-X11.

https://bugzilla.gnome.org/show_bug.cgi?id=695783

13 years agoUpdated Indonesian translation
Andika Triwidada [Thu, 14 Mar 2013 11:22:04 +0000 (18:22 +0700)]
Updated Indonesian translation

13 years agoUpdated Korean translation
Changwoo Ryu [Tue, 12 Mar 2013 20:14:03 +0000 (05:14 +0900)]
Updated Korean translation

13 years agoprinting: Use DBus calls instead of Avahi API
Marek Kasik [Tue, 12 Mar 2013 16:18:16 +0000 (17:18 +0100)]
printing: Use DBus calls instead of Avahi API

Converts usage of Avahi API to DBus calls. This change allows
us to remove dependency on avahi-gobject and avoids of possible
circular dependency.
Lists printers if Gtk+ is compiled with CUPS 1.6 or newer.

13 years agoprinting: Remove usage of GError in connection test
Marek Kasik [Wed, 13 Mar 2013 14:24:50 +0000 (15:24 +0100)]
printing: Remove usage of GError in connection test

Really remove usage of error in previous commit.

Related to
https://bugzilla.gnome.org/show_bug.cgi?id=695714

13 years agoprinting: Don't hang when getting info for Avahi printer
Marek Kasik [Wed, 13 Mar 2013 13:57:55 +0000 (14:57 +0100)]
printing: Don't hang when getting info for Avahi printer

Asynchronously create testing connection to address returned
by GaServiceResolver. Don't request info for such printer if
the connection fails.

https://bugzilla.gnome.org/show_bug.cgi?id=695714

13 years agoAdd a missing runtime check
Matthias Clasen [Wed, 13 Mar 2013 10:01:57 +0000 (06:01 -0400)]
Add a missing runtime check

The cursor theme and size settting code was ifdefed to only
be compiled with the X11 backend, but it didn't check for
running under X at runtime. Fix that.
http://bugzilla.gnome.org/695495

13 years agoprinting: Show Avahi printers on IPv6 network
Marek Kasik [Tue, 12 Mar 2013 15:26:37 +0000 (16:26 +0100)]
printing: Show Avahi printers on IPv6 network

Create correct URIs for printers on IPv6 networks.